package org.cangku.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Member {

  private long id;
  private String name;
  private long type;
  private long integral;
  private double xiaoMoney;
  private String sex;
  private String phone;
  /*@JsonFormat(pattern="yyyy-MM-dd")*/
  @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
  private Date riqi;
  private Membertype membertype;

  public Membertype getMembertype() {
    return membertype;
  }

  public void setMembertype(Membertype membertype) {
    this.membertype = membertype;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public long getType() {
    return type;
  }

  public void setType(long type) {
    this.type = type;
  }

  public long getIntegral() {
    return integral;
  }

  public void setIntegral(long integral) {
    this.integral = integral;
  }

  public double getXiaoMoney() {
    return xiaoMoney;
  }

  public void setXiaoMoney(double xiaoMoney) {
    this.xiaoMoney = xiaoMoney;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public Date getRiqi() {
    return riqi;
  }

  public void setRiqi(Date riqi) {
    this.riqi = riqi;
  }
}
